.post-meta a:hover,
.post-content a:hover,
.widget a:hover,
.comment-content a:hover {
  border-bottom-color: transparent;
}
.browsehappy {
  padding: 8px 0;
  background: #fbe3e4;
  color: #8a1f11;
  text-align: center;
}
.browsehappy a {
  color: #8a1f11;
  text-decoration: underline;
  font-weight: bold;
}
#header {
  border-bottom: 1px solid #eee;
  background-color: #fff;
}
.head-box {
  display: flex;
  justify-content: space-between;
}
.left-wrap {
  display: flex;
  align-items: center;
}
#logo {
  color: #333;
  font-size: 2.5em;
}
#logo img {
  max-height: 60px;
}
.default-logo {
  display: inline-block;
  width: 60px;
  max-height: 60px;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  margin-top: 10px;
  margin-bottom: 0;
}
.default-logo:hover {
  background-image: url(../img/logo_color.png);
}
.description {
  margin: 0.5em 0 0;
  color: #999;
  font-style: italic;
}
#nav-menu {
  margin-left: 20px;
  font-size: 16px;
}
#nav-menu a {
  margin-left: 10px;
}
#nav-menu a:hover,
#nav-menu .current {
  color: #2bbc8a;
}
#search {
  position: relative;
}
#search input {
  padding: 10px 30px 10px 10px;
  width: 230px;
  border-radius: 4px;
  height: 34px;
}
#search button {
  position: absolute;
  right: 4px;
  top: 5px;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  background: transparent url(../img/icon-search.png) no-repeat center center;
  direction: ltr;
  text-indent: -9999em;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #search button {
    background-image: url(../img/icon-search@2x.png);
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}

#main {
  background-color: #fff;
  margin-top: 16px;
  padding: 0;
  border: 1px solid #fafafa;
  border-radius: 4px;
}
.cate-box {
  padding: 6px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.cate-box-all {
  color: #2bbc8a;
  cursor: pointer;
}
.cate-box ul {
  display: flex;
  align-items: center;
  margin: 0;
}
.cate-box ul li {
  margin-left: 10px;
  padding-left: 10px;
  position: relative;
}
.cate-box li::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 14px;
  top: 4px;
  left: 0;
  background-color: #eee;
}

.post {
  padding: 13px 20px 20px;
  border-bottom: 1px solid #eee;
}
.post-list .post {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-list-img {
  max-width: 60px;
  height: 60px;
  border-radius: 4px;
  margin-left: 10px;
}
.post-list .post:hover {
  background-color: #fcfcfc;
}
.post-title {
  margin: 0.83em 0;
  font-size: 1.4em;
}
.post-meta {
  margin-top: -0.5em;
  padding: 0;
  color: #999;
  font-size: 0.92857em;
}
.post-meta li {
  display: inline-block;
  margin: 0 8px 0 0;
  padding-left: 12px;
  border-left: 1px solid #eee;
}
.post-meta li:first-child {
  margin-left: 0;
  padding-left: 0;
  border: none;
}
.post-content {
  line-height: 1.5;
}
/* .content-list-box {
  
} */
.post .tags {
  clear: both;
}
.post-near {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 30px 0;
  padding: 0 20px;
  color: #999;
}
.post-near li {
  margin: 10px 0;
  width: 40%;
}

.post-vant {
  border-top: 12px solid #fafafa;
}

.archive-title {
  margin: 1em 16px -1em;
  padding-top: 20px;
  color: #999;
  font-size: 1em;
}
.more {
  text-align: center;
}
.more a {
  border: none;
}
.protected .text {
  width: 50%;
}
/* 分页器相关 */
.page-navigator {
  list-style: none;
  margin: 25px 0;
  padding: 0;
  text-align: center;
}
.page-navigator li {
  display: inline-block;
  margin: 0 4px;
}
.page-navigator a {
  display: inline-block;
  padding: 0 10px;
  height: 26px;
  line-height: 26px;
}
/* .page-navigator a:hover {
  background: #eee;
  text-decoration: none;
} */
.page-navigator .current a {
  color: #fff;
  background: #2bbc8a;
}
#comments {
  border-top: 1px solid #e9e9e9;
  padding: 0 20px 20px;
}
#comment-form {
  position: relative;
}
.comment-form-info {
  display: flex;
  width: calc(100% - 2px);
  position: absolute;
  top: 1px;
  left: 1px;
  background-color: #fff;
}
.comment-form-info input {
  padding: 10px;
  width: 33.33%;
  height: 32px;
  border: 0;
  outline: none;
  border-bottom: 1px solid #f1f1f1;
  border-radius: 0;
  color: #666;
  /* border-right: 0; */
}
.comment-form-info input + input {
  border-left: 1px solid #f1f1f1;
}
.comment-form-info input:focus {
  /* border: 1px solid #f1f1f1; */
  border-top: 0;
  border-right-color: #f1f1f1;
  border-left-color: #f1f1f1;
  border-bottom-color: #2bbc8a;
}
#comment-form .textarea {
  padding: 40px 10px 10px;
  resize: none;
  color: #666;
}
.comment-form-submit {
  text-align: right;
}
.comment-form-submit button {
  margin-top: 5px;
  background-color: #2bbc8a;
  border: 1px solid #2bbc8a;
  color: #fff;
  width: 68px;
  height: 32px;
  border-radius: 2px;
  cursor: pointer;
}
.comment-list,
.comment-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list li {
  padding: 14px;
  margin-top: 10px;
  border: 1px solid #eee;
}
.comment-list li.comment-level-odd {
  background: #fafafa;
}
.comment-list li.comment-level-even {
  background: #fff;
}
.comment-list li.comment-by-author {
  background: #f9f8f4;
}
.comment-list li .comment-reply {
  text-align: right;
  font-size: 0.92857em;
}
.comment-meta a {
  color: #999;
  font-size: 0.92857em;
}
.comment-author {
  display: block;
  margin-bottom: 3px;
  color: #444;
}
.comment-author .avatar {
  float: left;
  margin-right: 10px;
}
.comment-author cite {
  font-weight: bold;
  font-style: normal;
}
.comment-list .respond {
  margin-top: 15px;
  border-top: 1px solid #eee;
}
.respond .cancel-comment-reply {
  float: right;
  margin-top: 15px;
  font-size: 0.92857em;
}
#comment-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}
#comment-form .required:after {
  content: " *";
  color: #c00;
}
#secondary {
  padding-top: 15px;
  word-wrap: break-word;
}
.widget {
  margin-bottom: 16px;
  background-color: #fff;
  padding: 10px;
}
.widget h4 {
  margin-top: 0;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f1f1;
  color: #999;
}
.widget h4 .iconfont {
  font-size: 14px;
}
.widget-list {
  list-style: none;
  padding: 0;
}
.widget-list li {
  margin: 5px 0;
  line-height: 1.6;
}
.widget-list li ul {
  margin-left: 15px;
}
#footer {
  padding: 3em 0 1em;
  line-height: 1.5;
  text-align: center;
  color: #999;
  font-size: 12px;
}
.error-page {
  margin-top: 100px;
  margin-bottom: 100px;
}
.post-content,
.comment-content {
  line-height: 1.5;
  word-wrap: break-word;
}
.post-content h2,
.comment-content h2 {
  font-size: 1.28571em;
}
.post-content img,
.comment-content img,
.post-content video,
.comment-content video {
  max-width: 100%;
}
.post-content img {
  cursor: pointer;
  display: block;
  margin: 0 auto;
}
.post-content a img,
.comment-content a img {
  background: #fff;
  position: relative;
  bottom: -4px;
}
.post-content hr,
.comment-content hr {
  margin: 2em auto;
  width: 100px;
  border: 1px solid #e9e9e9;
  border-width: 2px 0 0 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
img.alignleft {
  margin: 0 15px 0 0;
}
img.alignright {
  margin: 0 0 0 15px;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
.sr-only {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.invisible {
  visibility: hidden;
}

.hot-post {
  padding-left: 20px;
}
.hot-post li {
  line-height: 1.4;
  list-style-type: square;
  list-style-position: outside;
}
.hot-post-title {
  margin-bottom: 10px;
}
.hot-post a {
  display: inline-block;
  width: 100%;
}
.tags-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags-list li {
  padding: 6px 10px;
  border-radius: 4px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.tags-list a,
.tags-list a:hover {
  color: #fff;
  text-decoration-color: transparent;
  border-bottom: 0;
}
#timeline {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  min-height: 450px;
  margin-top: 50px;
}
#timeline ul,
#timeline li {
  list-style: none;
}
#timeline li {
  line-height: 2;
  font-size: 1em;
}
.user-card {
  text-align: center;
}
.user-card h4 {
  margin: 10px 0;
}
.user-card img {
  width: 60%;
  border-radius: 10px;
}
.user-card a {
  display: inline-block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-bottom: 0;
}
.user-card a + a {
  margin-left: 4px;
}
.user-card a:hover {
  text-decoration: none;
}
.user-card i {
  font-size: 24px;
}
.user-card .icon-gitee {
  margin-left: -116%;
}
.user-info {
  position: relative;
  margin-left: 20px;
}
.user-info h4 {
  cursor: pointer;
}
.user-info button {
  border: 0;
  background-color: #2bbc8a;
  color: #fff;
  padding: 7px 14px;
  border-radius: 2px;
  cursor: pointer;
}
.user-info-drop {
  display: none;
  position: absolute;
  left: -8px;
  top: 40px;
  width: 100px;
  margin: 0;
  padding: 6px 0;
  border-radius: 4px;
  list-style: none;
  background-color: #fff;
  box-shadow: 0 0 10px #f0f0f0;
}
.user-info-drop li {
  padding: 10px;
}
.user-info-drop li:hover {
  background-color: #f1f1f1;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
}
.modal-box {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  padding: 10px;
  max-width: 80%;
  overflow: auto;
  max-height: 80%;
  border-radius: 6px;
  background-color: #fff;
}
.modal-box i {
  position: absolute;
  right: 4px;
  top: -4px;
  cursor: pointer;
  font-size: 26px;
}

.links {
  max-width: 960px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
}
.links ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.links li {
  width: 18%;
    margin: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: #fff;
  cursor: pointer;
  transition: all .3s;
  border-radius: 8px;
}
.links li:hover {
  box-shadow: 0 0 10px #eee;
  transform: scale(1.1);
}
.links li img {
  width: 100%;
  margin-bottom: 16px;
}
.links li a {
  display: block;
  text-align: center;
}
@media (max-width: 767px) {
  body {
    font-size: 81.25%;
  }
  .cate-box {
    display: none;
  }
  #nav-menu a {
    float: none;
    display: inline-block;
    margin: 0 -2px;
  }
}
@media (max-width: 768px) {
  #header,
  .post-title,
  .post-meta {
    text-align: center;
  }
  #header {
    padding: 0 20px;
  }
}
@media (max-width: 990px) {
  .right-wrap {
    display: none;
  }
}
@media (min-width: 990px) {
  .container {
    max-width: 960px;
  }
  .container-wrap {
    display: flex;
    height: 60px;
    align-items: center;
  }
}
